//package com.fire.rabbitmq.consumer;
//
//import com.fire.rabbitmq.queue.QueueRouter;
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
///**
// * @author ：Mr.Fire
// * @date ：Created in 2021/4/25 16:15
// * @description：
// * @modified By：
// * @version: $
// */
//@Component
//public class Consumer5 {
//
//    @RabbitListener(queues = QueueRouter.QUEUE_DIRECT_A)
//    @RabbitHandler
//    public void receiveA(String msg){
//        System.out.println("Consumer5-direct-A收到路由消息："+msg);
//    }
//
//    @RabbitListener(queues = QueueRouter.QUEUE_DIRECT_B)
//    @RabbitHandler
//    public void receiveB(String msg){
//        System.out.println("Consumer5-direct-B收到路由消息："+msg);
//    }
//}
